import request from "@/utils/request";


// 获取品牌数据
export const getBrandData = (limit = 6) => {
    return request('/api/home/brand', 'get', { limit })
}

// 获取轮播图数据
export const getBannerList = () => {
    return request('/api/home/banner', 'get')
}

// 获取新鲜好物数据
export const getNewGoods = () => {
    return request('/api/home/new', 'get')
}

// 获取人气推荐数据
export const getHotGoods = () => {
    return request('/api/home/hot', 'get')
}

// 获取商品区块信息
export const getProducts = () => {
    return request('/api/home/goods', 'get')
}

// 获取最新专题数据
export const getSpecial = () => {
    return request('/api/home/special', 'get')
}